<?php
use yii\helpers\Url;
use yii\helpers\ArrayHelper;
?>
<?php foreach ($data as $item): ?>
    <li class="mui-table-view-cell">
        <div class="mui-table">
            <div class="mui-table-cell mui-col-xs-8">
                <h5><?php echo ArrayHelper::getValue($item, "title"); ?></h5>
                <p class="mui-h6 mui-ellipsis">皓币：￥<?php echo Yii::$app->formatter->asDecimal($item["brush_price"]); ?>，时间：<?php echo Yii::$app->formatter->asDatetime($item["updated_at"]); ?></p>
                <p>原因：<?php echo Yii::$app->formatter->asText($item["complain_note"]); ?></p>
            </div>
<!--            <div class="mui-table-cell mui-col-xs-4 mui-text-right">
                <?php if ($item["is_complain"] == 2): ?>
                    <span class="mui-h5"><button type="button" class="mui-btn mui-btn-danger" data-loading-text="申诉中" url="<?php echo Url::toRoute(["appeal", "id" => $item["id"]]); ?>">申诉&nbsp;></button></span>
                <?php else: ?>
                    <span class="mui-h5"><button type="button" class="mui-btn mui-btn-danger"><?php echo \frontendm\models\WB_UserTaskOperate::$complain[$item["is_complain"]]; ?></button></span>
                    <?php endif; ?>
            </div>-->
        </div>
    </li>
<?php endforeach; ?>